package com.wondertek.service.dto.business.req;

/**
 * @author wangyu
 */

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

@Data
public class RentalPostponeReq {

    @NotBlank(message = "rental.id.not.null")
    @Schema(name = "rentalId",description = "租赁id")
    private String rentalId;

    @NotNull(message = "endtime.not.null")
    @Schema(name = "endDate",description = "结束时间")
    private Date endDate;

}
